<?php /* Smarty version 2.6.19, created on 2009-01-08 08:24:26
         compiled from admin/spa/list_image_form.tpl */ ?>
<form method="post" action="<?php echo $this->_tpl_vars['config']['app_root_url']; ?>
?module=spa&act=multi" id="multi-delete-form" enctype="multipart/form-data" class="lbpdc">
    <div class="table-header pkg">
        <input class="button" name="multidel" value="Xóa" type="submit" rel="confirm" title="Bạn chắc chắn muốn xóa?" rev="genre-id">
    </div>
    <table class="table-list" cellspacing="0">
        <tr>
            <th width="3%" style="text-align:center"><input type="checkbox" id="allbox" class="checkbox" value="checkall" name="allbox" /></th>
            <th width="2%" align="center"></th>
          
            <th width="60%" align="left">Ảnh thu nhỏ</th>
            <th width="4%" align="center">H/A</th>
            <th width="4%" align="center">Xóa</th>
        </tr>
        <?php $_from = $this->_tpl_vars['data']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['image_id'] => $this->_tpl_vars['image']):
?>
        <tr class="<?php if ($this->_tpl_vars['artist_id'] % 2 != 0): ?>row-odd<?php else: ?>row-even<?php endif; ?>">
            <td align="center"><input type="checkbox" class="checkbox genre-id" value="<?php echo $this->_tpl_vars['artist_id']; ?>
" name="artist_id[]"/></td>
            <td ><a class="<?php if ($this->_tpl_vars['image']['ishow'] == 1): ?>status-online<?php else: ?>status-offline<?php endif; ?>">&nbsp;&nbsp;&nbsp;&nbsp;</a></td>
            <td id="avatar-<?php echo $this->_tpl_vars['image']['id']; ?>
">
                <a class="thumbnail" href="<?php echo $this->_tpl_vars['config']['app_root_url']; ?>
?module=spa&act=image&code=edit&id=<?php echo $this->_tpl_vars['image']['id']; ?>
" >
                    <img src="../data/images/about/<?php echo $this->_tpl_vars['image']['image']; ?>
" width="40px" height="40px" />
                    <span><img src="../data/images/about/<?php echo $this->_tpl_vars['image']['image']; ?>
"<br/><?php echo $this->_tpl_vars['image']['name']; ?>
</span>
                </a>
            </td> 
            <td align="center"><a href="<?php echo $this->_tpl_vars['config']['app_root_url']; ?>
?module=spa&act=image&code=status&id=<?php echo $this->_tpl_vars['image']['id']; ?>
&status=<?php if ($this->_tpl_vars['image']['ishow'] == 1): ?>0<?php else: ?>1<?php endif; ?>" class="<?php if ($this->_tpl_vars['image']['ishow'] == 1): ?>offline<?php else: ?>online<?php endif; ?>" title="Thay đổi trạng thái">Change</a></td>
            <td align="center"><a href="<?php echo $this->_tpl_vars['config']['app_root_url']; ?>
?module=spa&act=image&code=delete&id=<?php echo $this->_tpl_vars['image']['id']; ?>
" class="delete" rev="artist-item" rel="confirm" title="Bạn chắc chắn muốn xóa?" onclick="javascript: return confirm('Bạn chắc chắn muốn xóa?')">Xóa</a></td>
        </tr>
        <?php endforeach; endif; unset($_from); ?> 
     </table>
     <div class="table-footer pkg">
     <?php if (! empty ( $this->_tpl_vars['pagination'] )): ?>
     <p>&nbsp;&nbsp;</p>
     <div class="pagingBar" align="right"><?php echo $this->_tpl_vars['pagination']; ?>
</div>
     <?php endif; ?> 
     </div>
     <div id="edit-genre"></div>
</form>